package com.ruoyi.system.domain.zhuangxiumain.orderformMain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;

import java.util.Date;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class OrderShoppingCart extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 购物车表的id
	 */
	@TableId(type = IdType.AUTO)
	private Integer orderShoppingCartId;

	/**
	 * 用户的id
	 */
	private Integer customerId;

	/**
	 * 商品的id
	 */
	private Integer productId;

	/**
	 * 商品规格的id
	 */
	private Integer productLabelId;

	/**
	 * 购买商品的数量
	 */
	private Integer productNumber;

	/**
	 * 添加的时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date addTime;

	/**
	 * 修改的时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;


}
